package AdapterAndFacade.AdapterInterfaces;

/**
 * @Author: pengzx
 * @Description:
 * @Date: 9:38 2017/9/14
 * @Modified by: 1.0
 */
public abstract class Duck {
    protected Fly fly;
    protected Quack quack;

    public Duck()
    {
    }

    public void quack(){
        quack.quck();
    }
    public void fly(){
        fly.fly();
    }
}
